home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 19
/
Mac Magazin and MacEasy Magazine CD - Issue 19.iso
/
Utilities
/
uae-0.4
/
Source Code
/
CPU Sources
/
cpu7.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-02-13
|
413b
|
19 lines
#include "config.h"
#include "amiga.h"
#include "options.h"
#include <stdlib.h>
#include "memory.h"
#include "custom.h"
#include "newcpu.h"
#include "cputbl.h"
void op_7000(UWORD opcode)
{
ULONG srcreg = (LONG)(BYTE)((opcode & 255) >> 0);
ULONG dstreg = (opcode & 3584) >> 9;
{{ ULONG src = srcreg;
{ regs.v = regs.c = 0;
regs.z = ((LONG)(src)) == 0;
regs.n = ((LONG)(src)) < 0;
regs.d[dstreg] = (src);
}}}}